public class HomeWork06 {
	public static void main(String[] args){
		int count = 0;
		int range = 100;
		int num = 5;
		for(int i = 1;i <= range; i++){
			if(i % num == 0){
				System.out.println(i + " ");
				count++;
			}
			if(count % num == 0){
				System.out.println("\n");
			}
		}
	}
}